@import '../_config.scss';
.orders-new {
  padding-left: 15px;
  padding-right: 15px;
  background-color: $color-default;
    .title-row {
        .pull-right {
            margin-top: 24px;
            a {
                color: $color-normal;
            }
        }
    }
    .address-row {
        .address-cols {
            .address-col {
                border: 1px solid $color-border;
                padding: 30px 15px;
                min-height: 180px;
                margin-bottom: 30px;
                &.new-address {
                    display: flex;
                    flex-flow: column nowrap;
                    justify-content: center;
                    align-items: center;
                    a {
                        &,
                        &:active,
                        &:focus,
                        &:hover {
                            text-decoration: none;
                            color: $color-normal;
                        }
                    }
                }
            }
        }
    }

    .payway-row{
      .panel{
        border: 1px solid $color-border;
        border-radius: 0;

        ul{
          margin: 0;
          padding: 0;
          list-style-type: none;
          display: flex;
          flex-flow: row nowrap;

          li{
            margin-right: 10px;
            &:last-child{
              margin-right: 0;
            }
            .radio{
              label{
                display: flex;
                flex-flow: row nowrap;
                align-items: center;
              }
              img{
                width: 200px;
              }
            }
          }
        }
      }
    }

    .invoice-row {
        border: 1px solid $color-border;
        padding-top: 20px;
        padding-bottom: 20px;
        &.top {
            margin-top: 30px;
            border: 0;
            padding-top: 0;
            padding-bottom: 0;
        }
        .col-sm-12 {
            margin: 10px 0;
            span {
                font-weight: bold;
            }
        }
    }
    .products-list-row {
        margin-top: 30px;
        >.table-list {
            border-left: 0;
            border-right: 0;
            border-bottom: 0;
            thead {
                tr {
                    td {
                        border: 0;
                        padding-top: 15px;
                        padding-bottom: 15px;
                        background-color: $color-bg;
                        &:first-child {
                            border-left: 1px solid #ddd;
                        }
                        &:last-child {
                            border-right: 1px solid #ddd;
                        }
                    }
                }
            }
            tbody {
                tr {
                    border: 0;
                    &:last-child{
                      td{
                        &:last-child{
                          padding-right: 0;
                          text-align: right;
                        }
                      }
                    }
                    td {
                        padding-top: 15px;
                        padding-bottom: 15px;
                        border: 0;
                        img {
                            width: 50px;
                            height: 50px;
                        }
                        .money{
                          color: red;
                          font-size: 20px;
                        }
                    }
                    &:not(:last-child) {
                        border: 1px solid $color-border;
                    }
                }
            }
        }
    }
}


.mobile-orders-new{

    height: 100%;
    background-color: #eeeeee;

  .line{
    margin: 0;
    border-width: 10px;
    border-width: 2.66vw;
  }

  .address_link{
    padding: 20px 15px;
    padding: 5.33vw 4vw;
    background-color: #fff;

    .new{
      display: block;
    }

    .info{
      display: flex;
      flex-flow: row nowrap;
      align-items: center;
      justify-content: space-between;

      &:not(:last-child) {
        margin-bottom: 15px;
        margin-bottom: 4vw;
      }

      .icon-success{
        width: 50px;
        width: 13.33vw;
        font-size: 20px;
        font-size: 5.333vw;
        &.active{
          color: $color-private;
        }
      }

      .content{
        width: 280px;
        width: 74.6vw;
      }

      h1{
        margin: 0;
        font-size: 15px;
        font-size: 4vw;
        color: #222222;
        span{
          margin-left: 20px;
          margin-left: 5.33vw;
        }
      }
    }
  }

  .cart-list{
    padding: 15px 15px;
    padding: 4vw 4vw;
    background-color: #fff;

    .list-item{
      padding-bottom: 15px;
      padding-bottom: 4vw;
      display: flex;
      flex-flow: row nowrap;
      align-items: center;
      justify-content: space-between;

      &:not(:last-child){
        border-bottom: 1px solid #e5e5e5;
      }

      img{
        width: 100px;
        width: 26.66vw;
        height: 80px;
        height: 21.33vw;
        margin-right: 15px;
        margin-right: 4vw;
      }

      h1{
        margin-top: 0;
        width: 200px;
        width: 53.33vw;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        font-size: 12px;
        font-size: 3.2vw;
      }
    }
  }

  .checkout-panel{
    padding: 15px 15px;
    padding: 4vw 4vw;
    background-color: #fff;

    h1{
      margin-top: 0;
      font-size: 15px;
      font-size: 4vw;
      span{
        color: #999999;
      }
    }
  }

  .order-new-menu{
    padding: 10px 15px;
    padding: 2.66vw 4vw;
    height: 60px;
    height: 16vw;
    background-color: #fff;
    box-shadow: 0 -6px 13px 0 rgba(0, 0, 0, 0.05);
    box-shadow: 0 -1.6vw 3.5vw 0 rgba(0, 0, 0, 0.05);
    position: fixed;
    bottom: 0;
    width: 100%;
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
    .submit-btn {
        &,
        &:hover,
        &:focus,
        &:active {
            width: 150px;
            width: 40vw;
            font-size: 18px;
            font-size: 4.8vw;
            padding: 10px 0;
            padding: 2.66vw 0;
            text-align: center;
            color: #fff;
            border: 0;
            border-radius: 5px;
            border-radius: 1.33vw;
            display: block;
            outline: none;
            background: #64c879;
            box-shadow: 0 3px 9px 0 rgba(100, 200, 121, 0.40);
            box-shadow: 0 0.8vw 2.7vw 0 rgba(100, 200, 121, 0.40);
        }
    }
  }
}
